<html>
<head>
<title>JFEP - Java Fast Expression Parser</title>
<style type="text/css">
BODY  {
	BACKGROUND-COLOR : #ffffff;
	COLOR : #000033;
	FONT-FAMILY : Verdana, Arial, Helvetica, sans-serif;
	FONT-SIZE : 11pt;
}

TD  {
	FONT-FAMILY : Verdana, Arial, Helvetica, sans-serif;
	FONT-SIZE : 11pt;
	TEXT-ALIGN : center;
}

H2 {
	TEXT-ALIGN : center;
}
.legal {
	font-size: xx-small;
	font-style: italic;
	color:#666666;
}
</style>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"></head>
<body>
<p>This expression evaluator uses JFEP - Java Fast Expression Parser by Bertoli Marco. JFEP is designed to be lightweight and fast, suitable for multiple evaluations of the same function with minimum overhead. JFEP Home page: <a href="http://jfep.sourceforge.net">http://jfep.sourceforge.net</a> </p>
<p>JFEP supports implicit multiplication, when a number in input string if followed by a character </p>
<h2>Supported Operators (*)</h2>
        <table width="100%" border="1" cellspacing="2" cellpadding="5">
          <tr bgcolor="#FFFFFF">
            <td>Power</td>
            <td>^</td>
          </tr>
          <tr bgcolor="#FFFFFF">
            <td>Unary Minus</td>
            <td>-n</td>
          </tr>
          <tr bgcolor="#FFFFFF">
            <td>Modulus</td>
            <td>%</td>
          </tr>
          <tr bgcolor="#FFFFFF">
            <td>Division</td>
            <td>/</td>
          </tr>
          <tr bgcolor="#FFFFFF">
            <td>Multiplication</td>
            <td>*</td>
          </tr>
          <tr bgcolor="#FFFFFF">
            <td>Addition, Subtraction</td>
            <td>+, -</td>
          </tr>
</table>
         (*) Ordered by operator precedences
         <h2>Supported Functions</h2>
        <table width="100%" border="1" cellspacing="2" cellpadding="5">
          <tr bgcolor="#FFFFFF">
            <td>Sine</td>
            <td>sin()</td>
          </tr>
          <tr bgcolor="#FFFFFF">
            <td>Cosine</td>
            <td>cos()</td>
          </tr>
          <tr bgcolor="#FFFFFF">
            <td>Tangent</td>
            <td>tan()</td>
          </tr>
          <tr bgcolor="#FFFFFF">
            <td>Arc Sine</td>
            <td>asin()</td>
          </tr>
          <tr bgcolor="#FFFFFF">
            <td>Arc Cosine</td>
            <td>acos()</td>
          </tr>
          <tr bgcolor="#FFFFFF">
            <td>Arc Tangent</td>
            <td>atan()</td>
          </tr>
          <tr bgcolor="#FFFFFF">
            <td>Hyperbolic Sine</td>
            <td>sinh()</td>
          </tr>
          <tr bgcolor="#FFFFFF">
            <td>Hyperbolic Cosine</td>
            <td>cosh()</td>
          </tr>
          <tr bgcolor="#FFFFFF">
            <td>Hyperbolic Tangent</td>
            <td>tanh()</td>
          </tr>
          <tr bgcolor="#FFFFFF">
            <td>Inverse Hyperbolic Sine</td>
            <td>asinh()</td>
          </tr>
          <tr bgcolor="#FFFFFF">
            <td>Inverse Hyperbolic Cosine</td>
            <td>acosh()</td>
          </tr>
          <tr bgcolor="#FFFFFF">
            <td>Inverse Hyperbolic Tangent</td>
            <td>atanh()</td>
          </tr>
          <tr bgcolor="#FFFFFF">
            <td>Natural Logarithm</td>
            <td>ln()</td>
          </tr>
          <tr bgcolor="#FFFFFF">
            <td>Logarithm base 10</td>
            <td>log()</td>
          </tr>
          <tr bgcolor="#FFFFFF">
            <td>Logarithm base 2 </td>
            <td>log2()</td>
          </tr>
          <tr bgcolor="#FFFFFF">
            <td>Absolute Value / Magnitude</td>
            <td>abs()</td>
          </tr>
          <tr bgcolor="#FFFFFF">
            <td>Random number (between 0 and given argument)</td>
            <td>rand()</td>
          </tr>
          <tr bgcolor="#FFFFFF">
            <td>Square Root</td>
            <td>sqrt()</td>
          </tr>
          <tr bgcolor="#FFFFFF">
            <td>Error Function </td>
            <td>erf()</td>
          </tr>
          <tr bgcolor="#FFFFFF">
            <td>Complementary Error Function </td>
            <td>erfc()</td>
          </tr>
          <tr bgcolor="#FFFFFF">
            <td>Gamma function </td>
            <td>gamma()</td>
          </tr>
          <tr bgcolor="#FFFFFF">
            <td>Exponential</td>
            <td>exp()</td>
          </tr>
          <tr bgcolor="#FFFFFF">
            <td>Cotangent</td>
            <td>cot()</td>
          </tr>
        </table>
        <h2>Supported Constants </h2>
        <table width="100%" border="1" cellspacing="2" cellpadding="5">
          <tr bgcolor="#FFFFFF">
            <td>pi = 3.14159265358979323846</td>
            <td>pi</td>
          </tr>
          <tr bgcolor="#FFFFFF">
            <td>e = 2.7182818284590452354</td>
            <td>e</td>
          </tr>
        </table>
        <p class="legal">Copyright 2006, Bertoli Marco <br>
          Licensed under the Apache License, Version 2.0</p>
</body>
</html>
